---
title: clsWorkerInjuredBodyPartCollection
summary: API reference for clsWorkerInjuredBodyPartCollection.
status: draft
owner: SAIF Documentation Generator
last_reviewed: 2026-08-21
library: SAIF.Business.Claim
reference_type: embedded
---

# clsWorkerInjuredBodyPartCollection

`clsWorkerInjuredBodyPartCollection` retrieves all injured body parts for a claim and enforces, at the collection level, that exactly one body part is marked primary.

## Purpose
- Retrieves all injured body-part rows for a claim ([SQL-036](../../sql/SQL-036.md)).
- Enforces primary-body-part rules across the collection ([BR-006](../../business-rules.md#br-006-primary-body-part-is-required), [BR-007](../../business-rules.md#br-007-only-one-primary-body-part-is-allowed)).

## Context
- Namespace: `SAIF.Business.Claim`
- Assembly/package: `SAIF.Business.Claim.dll`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `PrimaryValid` | `Public Function PrimaryValid() As Boolean` | Enforces [BR-006](../../business-rules.md#br-006-primary-body-part-is-required); only evaluated when `Validate` is `True`. |
| `OnlyOnePrimary` | `Public Function OnlyOnePrimary() As Boolean` | Enforces [BR-007](../../business-rules.md#br-007-only-one-primary-body-part-is-allowed); always evaluated regardless of `Validate`. |
| `Validate` | `Public Property Validate As Boolean` | Gates whether `PrimaryValid` is evaluated; `OnlyOnePrimary` is deliberately not gated by this flag. |

## Behavioral notes
- `OnlyOnePrimary` is deliberately evaluated regardless of the `Validate` flag, unlike `PrimaryValid`.

## Constraints and usage notes
- Set `Validate` according to whether the caller requires a primary body part to be present; the only-one-primary constraint applies unconditionally.

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Related documentation
- [Library index](../../index.md)
- [API reference index](../index.md)
- [Overview](../../overview.md)
- [Architecture](../../architecture.md)
- [Dependencies](../../dependencies.md)
- [Operations and processes](../../operations-processes.md)
- [Business rules](../../business-rules.md)
- [Database tables](../../database-tables.md)
- [SQL catalog](../../sql/index.md)
## Sources
- SAIF.Business.Claim/clsWorkerInjuredBodyPartCollection.vb
